Skip to main content

New-IMWorkflow

SYNOPSIS​

Creates a new Immich workflow

SYNTAX​

New-IMWorkflow [[-Session] <ImmichSession>] [-Name] <String> [[-Description] <String>] [-Trigger] <String>
[[-Enabled] <Boolean>] [[-Logging] <Boolean>] [[-Steps] <Hashtable[]>] [-ProgressAction <ActionPreference>]
[<CommonParameters>]

DESCRIPTION​

Creates a new workflow in Immich with the specified name and configuration. Workflows can be created with empty filters and actions and configured later. Note: Workflow functionality is in Alpha state as of Immich v2.3.1.

EXAMPLES​

EXAMPLE 1​

New-IMWorkflow -Name 'Auto Tag Photos' -Trigger 'AssetCreate' -Description 'Automatically tag uploaded photos'

Creates a new workflow with basic information.

EXAMPLE 2​

New-IMWorkflow -Name 'Process Videos' -Trigger 'AssetTagged' -Enabled:$false

Creates a new workflow that is initially disabled.

PARAMETERS​

-Session​

Optionally define an Immich session object to use. This is useful when you are connected to more than one Immich instance.

Type: ImmichSession
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name​

The name for the new workflow. This will be displayed in the Immich interface.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Description​

A description for the workflow to provide additional context about its purpose.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Trigger​

The trigger for the workflow, including AssetOcrExtraction. Required by the Immich API.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Enabled​

Specifies whether the workflow should be enabled upon creation. Defaults to true.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: True
Accept pipeline input: False
Accept wildcard characters: False

-Logging​

Specifies whether run results of the workflow are logged.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 6
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Steps​

An array of step hashtables. Each step requires a 'method' (plugin method name) and a 'config' hashtable, and may include 'enabled' (boolean).

Type: Hashtable[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction​

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters​

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS​

OUTPUTS​

NOTES​

This feature is in Alpha state and may be subject to changes in future Immich versions.

EDIT THIS DOC​

This page was auto-generated from PowerShell comment-based help. To edit this page, update the corresponding command help in the module source repository.